package HomeWork.Day03;
/**
 * 生成10个0-100之间的不重复的随机数,并输出
 * @author Xiloer
 *
 */
import java.util.*;
public class Test03 {
	public static void main(String[] args) {
		Random rand = new Random();
		Collection<Integer> c = new HashSet<>();
		for(int i=0;i<10;i++){
			c.add(rand.nextInt(100)+1);
		}
		System.out.println(c);
	}
}
